eSymbolsABCDEFGHIJKLMNOPQRSTUVWXYZInside Macintoshchapter formatformat conventionsformat of parameter blocksparameter block format of'DRVR' resource typeasynchronous device driverasynchronous I/O requestsand the I/O queueguidelines for using
initiatingAuxDCE data typeblock devicecharacter deviceChooser
extensionsmessages
close routineCloseDeskAcc functionCloseDriver functionCntrlParam data typecompletion routineControl functioncontrol routine data typedCtlEnable flagdCtlStorage fielddesk accessoryclosingcreating driver resources foropeningwriting)device control entry (DCE) data structure
driver headerdriver I/O queuedriver namedriver reference numberdriver resourcescreatingdriver routinesclosecontrolentering and exitingopenprimestatusDriverInstall function DriverInstallReserveMem functionDriverRemove functiondrvrDelay valuedrvrEMask valuedrvrMenu valuedStatEnable flagdWritEnable flag
Fetch routineFSRead functionFSWrite functionGetDCtlEntry function I/O queueimmediate I/O requestsand the I/O queueat interrupt timeinterrupt handlerIODone routineIOParam data typeKillIO functionKillIO requestsopen routineOpenDeskAcc functionOpenDriver functionOpenSlot functionParamBlockRec data typeDevice ManagerPBClose functionPBControl functionPBControlAsync functionPBControlSync functionPBKillIO functionPBKillIOAsync functionPBKillIOSync functionPBOpen functionPBRead functionPBReadAsync functionPBReadSync functionPBStatus functionPBStatusAsync functionPBStatusSync functionPBWrite functionPBWriteAsync functionPBWriteSync function
prime routinereentrant device driverresource types'DRVR' resourcesdriverstandard device drivers
Stash routineStatus functionstatus routinesynchronous device driversynchronous I/O requestsand the I/O queueat interrupt timethe driver resourceunit number
unit tablereserved entries searching structure"UnitNtryCnt system global variable!UTableBase system global variableboard sResourcesBoardID entriesbus interfaces
byte lanescards. See expansion cards&configuration ROM. See declaration ROMdeclaration ROMdevice control entryfor slot device driversloading from sResourcesexpansion cards. See also Slot Managerbase addresses ofdetermining if changedgetting information frominitialization status ofNuBus. See NuBus cardsprocessor-direct slot (PDS)f32BitMode flag fAll flagfCardIsChanged flagfCkForNext flagfConsecBytes flagFHeaderRec data typefirmware, in declaration ROM
Start Managerand partition mapsTIB instructions%. See also transfer instruction block data typeoperation codesscAddscCompscIncscLoopscMovescNoIncscNopscStop transfer instruction block (TIB)A5 world%accessing in SCSI completion routinesand SCSI Manager 4.3
CDB data type(Common Access Method (CAM) specificationdevice identification recordDeviceIdent data typedriver registration tableEnteringSIM functionExitingSIM functionHBA (host bus adaptor)host bus adaptor (HBA)and SCSI Manager 4.3MakeCallback functionNewOldCall functionSCSI abort commandSCSI bus inquirySCSI driver identificationSCSI I/OSCSI load driverSCSI ManagerSCSI terminate I/OSCSI virtual ID informationqueue freezingscatter/gather listasynchronous requests autosense(Common Access Method (CAM) specificationDMAhost bus adaptor (HBA)immediate requestsSCSI interface module (SIM)SCSI-2 specificationtransport (XPT)virtual busvirtual memory compatibility"SCSI abort command parameter block SCSI bus inquiry parameter block*SCSI driver identification parameter blockSCSI I/O parameter blockSCSI interface module (SIM) SCSI load driver parameter blockSCSI Manager 4.3data structures infunctions in"SCSI terminate I/O parameter block+SCSI virtual ID information parameter blockSCSIAbortCommand functionSCSIAbortCommandPB data typeSCSIAction functionSCSIBusInquiry functionSCSIBusInquiryPB data typeSCSICreateRefNumXref functionSCSIDeregisterBus functionSCSIDriverPB data typeSCSIExecIO functionSCSIExecIOPB data typeSCSIGetVirtualIDInfo function SCSIGetVirtualIDInfoPB data typeSCSIKillXPT functionSCSILoadDriver functionSCSILoadDriverPB data typeSCSILookupRefNumXref functionSCSINop functionSCSIOldCall functionSCSIRegisterBus functionSCSIRegisterWithNewXPT functionSCSIReleaseQ functionSCSIRemoveRefNumXref functionSCSIReregisterBus functionSCSIResetBus functionSCSIResetDevice functionSCSITerminateIO functionSCSITerminateIOPB data typeSCSI_PB data typeSGRecord data typeSIM (SCSI interface module)SIM initialization recordSIMAction functionSIMInit functionSIMInitInfo data typeSIMInterruptPoll functiondefault startup deviceand SCSI Manager 4.3transport (XPT)virtual bus
virtual IDvirtual memoryand SCSI device driversXPT (SCSI transport)ADB (Apple Desktop Bus)ADB commands described format ofListen Register 3sending directly to devicesTalk Register 0Talk Register 3ADB data blockADB device handler ID described obtainingspecialADB device handlers described
installingwritingADB device registersdefined
register 0
register 3ADB device tableADB device table entryADB devicesactiveaddress resolution forcharacteristics ofcollision detection amongcommunication withdefault addresses of,device handler ID. See ADB device handler ID,device handlers for. See ADB device handlersgetting information aboutlicensing of
polling ofrandom addresses returned byregisters ofsending commands directly tosending commands toListen Register 3Talk Register 0Talk Register 3#service request signals asserted byspecifications fortypes ofADB information blockADB Managerand the Device Manager application-defined routines fordata structures inroutines intesting for availabilityADB operation blockADB transactionsADBDataBlock data typeADBOp functionADBOpBlock data typeADBReInit procedureADBSetInfoBlock data typeApple Desktop Bus (ADB)Apple Software LicensingCountADBs function device handlers for ADB devicesdevice handlers for ADB devicesGetADBInfo functionGetIndADB functionJADBProc system global variable keyboardsApple ExtendedADB device default address ofand the ADB Managerdevice handler IDdevice handlers forApple StandardADB device default address ofand the ADB Managerdevice handler IDdevice handlers forListen Register 3 command
AOn procedureAOnIgnoreModem procedureapplication global variablesusing in sleep proceduresautomatic sleep. See also sleep timerdetermining if enabledenabling and disablingAutoSleepControl functionbattery information structurebattery time structure%battery, portable Macintosh computerscharginglow voltage number ofreading the status ofrelative chargestate of chargertime remainingvoltage
warning levelBatteryCount functionBatteryInfo data typeBatteryStatus functionBatteryTimeRec data typeBOff procedure
BOn procedure!CPU, portable Macintosh computers
current speeddeterminingsettingcyclingdetermining if enabledenabling or disabling
maximum speeddetermining
restart speeddeterminingsettingCurrentProcessorSpeed function%notification of impending sleep statedialog boxes5effect on a portable Macintosh computer’s sleep state
dimming timercontrollingdetermining whether enabledenabling and disablingreadingsettingDimmingControl functionDisableIdle procedureDisableWUTime functionEnableIdle procedureEnableProcessorCycling functionFullProcessorSpeed functionGetBatteryTimes functionGetBatteryVoltage functionGetCPUSpeed functionGetDimmingTimeout functionGetHardDiskTimeout functionGetIntModemInfo functionGetScaledBatteryInfo functionGetSCSIDiskModeAddress functionGetSleepTimeout functionGetWakeupTimer functionGetWUTime functionhard disk queueinstalling a routineremoving a routinehard disk queue structurehard disk timerenabling or disablingreadingsetting*hard disk, in portable Macintosh computers+. See also hard disk queue, hard disk timercontrolling,determining if automatic spindown is enableddetermining if on(enabling or disabling automatic spindown(shutting down, receiving notification ofturning offHardDiskPowered functionHardDiskQInstall functionHardDiskQRemove functionHDQueueElement data typehicharge counter
idle statecontrollingdefined disablingenablingIdleUpdate function(inactivity, portable Macintosh computers7internal modem. See modem, portable Macintosh computers!IsAutoSlpControlDisabled function!IsDimmingControlDisabled function"IsProcessorCyclingEnabled functionIsSpindownDisabled functionMaximumProcessorSpeed function#modem, portable Macintosh computerscontrolling power toreading status ofring-detect featurering-wakeup featuresetting state ofModemStatus functionPMFeatures functionPMSelectorCount functionportable Macintosh computersactivity timercontrollingdefined resettingtypes of activitybatterycharginglow voltage number ofreading the status ofrelative chargestate of chargertime remainingvoltage
warning levelcontrolling serial power*CPU. See CPU, portable Macintosh computers
dimming timercontrollingdetermining whether enabledenabling and disablingreadingsetting9hard disk. See hard disk, in portable Macintosh computershicharge counter
idle statecontrollingdefined disablingenabling
inactivityinternal modemcontrolling power toreading status ofring-detect featurering-wakeup feature.modem. See modem, portable Macintosh computerspower management circuitsPower Manager IC6processor speed. See CPU, portable Macintosh computers"SCSI disk mode. See SCSI disk modesleep statesleep timercontrollingenabling and disablingreadingsettingwakeup timercontrollingreadingsetting
power cycling7power management circuits, portable Macintosh computers
Power Manager'. See also portable Macintosh computers application-defined routines fordispatch routinesroutines intesting for availabilitytesting for featuresunsafe assumptionsPower Manager ICpower-saver staterest state. See idle statering-detect feature, modemring-wakeup feature, modemSCCcontrolling power toscreen saver. See dimming timerSCSI disk modedetermining SCSI IDsetting SCSI ID)Serial Communications Controller. See SCC*serial power, portable Macintosh computerscontrollingSetDimmingTimeout functionSetHardDiskTimeout functionSetIntModemState functionSetProcessorSpeed functionSetSCSIDiskModeAddress functionSetSleepTimeout functionSetSpindownDisable functionSetWakeupTimer functionSetWUTime function
sleep demandsconditional
responding tosequence of events
unconditional+sleep now. See sleep demands, unconditionalsleep procedure selector codessleep procedures. See also sleep queue"using application global variablessleep queueadding an entrycontrollingremoving an entryresponding to calls
sleep demandsconditionalsequence of events
unconditionalsleep requestssequence of eventssleep-request revocationswakeup demandssleep queue recordsleep requests
responding tosequence of eventssleep statesleep timer. See also automatic sleepcontrollingenabling and disablingreadingsettingsleep-request revocations
responding toSleepQInstall procedureSleepQRec data typeSleepQRemove procedureSpinDownHardDisk functionTicks global variabletimer, wakeup. See wakeup timerwakeup demands
responding towakeup time structurewakeup timercontrollingreadingsettingsetting and readinguse ofWakeupTime data typeand the Serial Driver*asynchronous serial communication protocol baud rateCommunications Toolboxdata communication equipmentdata terminal equipmentSerClrBrk functionSerGetBuf functionSerHShake functionserial communicationasynchronous baud rateCommunications Toolboxdefault settingsduplexerrorsexternal clockingflow control methodshandshaking protocolsRS-422 interfacesignals usedsynchronous
Serial Driveralternate input bufferclosing
data types indefault settingshandshaking optionsopeningroutines insynchronous clockingserial handshake recordserial status recordSerReset functionSerSetBrk functionSerSetBuf functionSerShk data typeSerStaRec data typeSerStatus functionand the Serial Driver